//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['John Prine Songs & Souvenirs: David Jacques & Jason Wilber','The Ardmore Music Hall','Ardmore, PA','Friday','8/8/2025','8:00 PM','6987933','John-Prine-Songs---Souvenirs--David-Jacques---Jason-Wilber-8-8-2025'],['John Prine Songs & Souvenirs: David Jacques & Jason Wilber','Rams Head On Stage','Annapolis, MD','Saturday','8/9/2025','8:00 PM','6987932','John-Prine-Songs---Souvenirs--David-Jacques---Jason-Wilber-8-9-2025'],['John R. Miller & Tommy Prine','Iron Horse Music Hall - MA','Northampton, MA','Monday','8/11/2025','7:00 PM','7167460','John-R--Miller---Tommy-Prine-8-11-2025'],['John R. Miller & Tommy Prine','3S Artspace','Portsmouth, NH','Friday','8/15/2025','8:00 PM','7161981','John-R--Miller---Tommy-Prine-8-15-2025'],['John R. Miller & Tommy Prine','The Foundry - Philadelphia','Philadelphia, PA','Sunday','8/17/2025','8:00 PM','7160740','John-R--Miller---Tommy-Prine-8-17-2025'],['John Prine Songs & Souvenirs: David Jacques & Jason Wilber','Beaver Dam Amphitheater','Beaver Dam, KY','Saturday','8/30/2025','7:00 PM','7026692','John-Prine-Songs---Souvenirs--David-Jacques---Jason-Wilber-8-30-2025'],['Billy Prine and The Prine Time Band - Songs of John Prine','The Greenwich Odeum','East Greenwich, RI','Friday','9/12/2025','7:30 PM','7103037','Billy-Prine-and-The-Prine-Time-Band---Songs-of-John-Prine-9-12-2025'],['Billy Prine - The Songs and Stories of John Prine','Off Cabot Comedy & Events','Beverly, MA','Saturday','9/13/2025','7:00 PM','7108727','Billy-Prine---The-Songs-and-Stories-of-John-Prine-9-13-2025'],['In Spite of Ourselves - An Evening of John Prine','Brockville Arts Centre','Brockville, Canada','Friday','9/19/2025','7:30 PM','6964477','In-Spite-of-Ourselves---An-Evening-of-John-Prine-9-19-2025'],['John Prine Songs & Souvenirs: David Jacques & Jason Wilber','Englert Theatre','Iowa City, IA','Friday','9/26/2025','7:30 PM','7198297','John-Prine-Songs---Souvenirs--David-Jacques---Jason-Wilber-9-26-2025'],['You Got Gold - Tribute to John Prine','The Basement East - Nashville','Nashville, TN','Thursday','10/9/2025','7:30 PM','7083445','You-Got-Gold---Tribute-to-John-Prine-10-9-2025'],['You Got Gold - Tribute to John Prine','Ryman Auditorium','Nashville, TN','Friday','10/10/2025','7:30 PM','7086347','You-Got-Gold---Tribute-to-John-Prine-10-10-2025']],'John Prine','http://www.ticketnetwork.com/ticket/John-Prine-events.aspx');